package com.yidian.pojo.goods;

import lombok.Data;

import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;

/**
 * @author whb
 * @create 2021-05-19 15:29
 * @decription 商品分类实体类
 */
@Table(name = "tb_category")
@Data
public class Category implements Serializable {
    @Id
    private Integer id;//分类ID

    private String name;//分类名称

    private Integer goodsNum;//商品数量

    private String isShow;//是否显示

    private String isMenu;//是否导航

    private Integer seq;//排序

    private Integer parentId;//上级ID

    private Integer templateId;//模板ID
}
